package com.ruoyi.management.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 药品对象 t_drug_manage
 * 
 * @author ruoyi
 * @date 2023-05-08
 */
public class DrugManage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 图片 */
    @Excel(name = "图片")
    private String imgPhone;

    /** 图片 */
    @Excel(name = "图片")
    private String imgPhoneName;

    /** 图片 */
    @Excel(name = "图片")
    private String eatDrugTimesJson;

    /** 名称 */
    @Excel(name = "名称")
    private String title;

    /** 名称 */
    @Excel(name = "名称")
    private Long strength;

    /** 药品单元 */
    @Excel(name = "药品单元")
    private Long drugUnit;

    /** 药品单元 */
    @Excel(name = "药品单元")
    private String drugUnitName;

    /** 药品数量 */
    @Excel(name = "药品数量")
    private Long drugNum;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date eatDrugStartTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date eatDrugEndTime;

    /** 频率 */
    @Excel(name = "频率")
    private Long frequency;

    /** 频率 */
    @Excel(name = "频率")
    private String frequencyName;

    /** 吃药次数 */
    @Excel(name = "吃药次数")
    private String eatDrugNum;

    /** 频率 */
    @Excel(name = "频率")
    private Long separateDay;

    /** 1删除 0 有效 */
    @Excel(name = "1删除 0 有效")
    private Long deleteFlag;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long createorId;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createorName;

    /** 哪天吃 */
    @Excel(name = "哪天吃")
    private String whenEatDrug;

    /** 当前吃的是否正常 */
    @Excel(name = "当前吃的是否正常")
    private Integer isEatDrug;

    /** 药品库存数量 */
    @Excel(name = "药品库存数量")
    private Long drugInventory;

    /** 已服药次数 */
    @Excel(name = "已服药次数")
    private Long quantityTaken;

    /** 否是开启剩余提醒 */
    @Excel(name = "否是开启剩余提醒")
    private Long enableRemainingReminders;

    /** 剩余数量提醒 */
    @Excel(name = "剩余数量提醒")
    private Long marginReminders;

    /** 提醒时间 11:00 */
    @Excel(name = "提醒时间 11:00")
    private String reminderTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setImgPhone(String imgPhone) 
    {
        this.imgPhone = imgPhone;
    }

    public String getImgPhone() 
    {
        return imgPhone;
    }
    public void setImgPhoneName(String imgPhoneName) 
    {
        this.imgPhoneName = imgPhoneName;
    }

    public String getImgPhoneName() 
    {
        return imgPhoneName;
    }
    public void setEatDrugTimesJson(String eatDrugTimesJson) 
    {
        this.eatDrugTimesJson = eatDrugTimesJson;
    }

    public String getEatDrugTimesJson() 
    {
        return eatDrugTimesJson;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setStrength(Long strength) 
    {
        this.strength = strength;
    }

    public Long getStrength() 
    {
        return strength;
    }
    public void setDrugUnit(Long drugUnit) 
    {
        this.drugUnit = drugUnit;
    }

    public Long getDrugUnit() 
    {
        return drugUnit;
    }
    public void setDrugUnitName(String drugUnitName) 
    {
        this.drugUnitName = drugUnitName;
    }

    public String getDrugUnitName() 
    {
        return drugUnitName;
    }
    public void setDrugNum(Long drugNum) 
    {
        this.drugNum = drugNum;
    }

    public Long getDrugNum() 
    {
        return drugNum;
    }
    public void setEatDrugStartTime(Date eatDrugStartTime) 
    {
        this.eatDrugStartTime = eatDrugStartTime;
    }

    public Date getEatDrugStartTime() 
    {
        return eatDrugStartTime;
    }
    public void setEatDrugEndTime(Date eatDrugEndTime) 
    {
        this.eatDrugEndTime = eatDrugEndTime;
    }

    public Date getEatDrugEndTime() 
    {
        return eatDrugEndTime;
    }
    public void setFrequency(Long frequency) 
    {
        this.frequency = frequency;
    }

    public Long getFrequency() 
    {
        return frequency;
    }
    public void setFrequencyName(String frequencyName) 
    {
        this.frequencyName = frequencyName;
    }

    public String getFrequencyName() 
    {
        return frequencyName;
    }
    public void setEatDrugNum(String eatDrugNum) 
    {
        this.eatDrugNum = eatDrugNum;
    }

    public String getEatDrugNum() 
    {
        return eatDrugNum;
    }
    public void setSeparateDay(Long separateDay) 
    {
        this.separateDay = separateDay;
    }

    public Long getSeparateDay() 
    {
        return separateDay;
    }
    public void setDeleteFlag(Long deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Long getDeleteFlag() 
    {
        return deleteFlag;
    }
    public void setCreateorId(Long createorId) 
    {
        this.createorId = createorId;
    }

    public Long getCreateorId() 
    {
        return createorId;
    }
    public void setCreateorName(String createorName) 
    {
        this.createorName = createorName;
    }

    public String getCreateorName() 
    {
        return createorName;
    }
    public void setWhenEatDrug(String whenEatDrug) 
    {
        this.whenEatDrug = whenEatDrug;
    }

    public String getWhenEatDrug() 
    {
        return whenEatDrug;
    }
    public void setIsEatDrug(Integer isEatDrug) 
    {
        this.isEatDrug = isEatDrug;
    }

    public Integer getIsEatDrug() 
    {
        return isEatDrug;
    }
    public void setDrugInventory(Long drugInventory) 
    {
        this.drugInventory = drugInventory;
    }

    public Long getDrugInventory() 
    {
        return drugInventory;
    }
    public void setQuantityTaken(Long quantityTaken) 
    {
        this.quantityTaken = quantityTaken;
    }

    public Long getQuantityTaken() 
    {
        return quantityTaken;
    }
    public void setEnableRemainingReminders(Long enableRemainingReminders) 
    {
        this.enableRemainingReminders = enableRemainingReminders;
    }

    public Long getEnableRemainingReminders() 
    {
        return enableRemainingReminders;
    }
    public void setMarginReminders(Long marginReminders) 
    {
        this.marginReminders = marginReminders;
    }

    public Long getMarginReminders() 
    {
        return marginReminders;
    }
    public void setReminderTime(String reminderTime) 
    {
        this.reminderTime = reminderTime;
    }

    public String getReminderTime() 
    {
        return reminderTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("imgPhone", getImgPhone())
            .append("imgPhoneName", getImgPhoneName())
            .append("eatDrugTimesJson", getEatDrugTimesJson())
            .append("title", getTitle())
            .append("strength", getStrength())
            .append("drugUnit", getDrugUnit())
            .append("drugUnitName", getDrugUnitName())
            .append("drugNum", getDrugNum())
            .append("eatDrugStartTime", getEatDrugStartTime())
            .append("eatDrugEndTime", getEatDrugEndTime())
            .append("frequency", getFrequency())
            .append("frequencyName", getFrequencyName())
            .append("eatDrugNum", getEatDrugNum())
            .append("separateDay", getSeparateDay())
            .append("deleteFlag", getDeleteFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createorId", getCreateorId())
            .append("createorName", getCreateorName())
            .append("whenEatDrug", getWhenEatDrug())
            .append("isEatDrug", getIsEatDrug())
            .append("drugInventory", getDrugInventory())
            .append("quantityTaken", getQuantityTaken())
            .append("enableRemainingReminders", getEnableRemainingReminders())
            .append("marginReminders", getMarginReminders())
            .append("reminderTime", getReminderTime())
            .toString();
    }
}
